<template>
  <div>
    <span>{{obj.shopName}}</span>
    <button @click="$emit('change-unm',obj.count+1)">+</button>
    <span>{{obj.count}}</span>
    <button @click="$emit('change-unm',obj.count-1)" :disabled="obj.count===0">+</button>
   </div>
</template>
 
<script>
export default {
  components: {},
  props: {
    obj:{
        type:Object,
        required:true,
    }
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>